package 集合.单列Collection.遍历方法.迭代器;

import javax.swing.text.html.HTMLDocument;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;

public class test {
    public static void main(String[] args) {
        Collection<String> coll=new ArrayList<String>();
        coll.add("aaa");
        coll.add("bbb");
        Iterator<String> it=coll.iterator();

    }
}
